package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关注管理对象 attention
 * 
 * @author ruoyi
 * @date 2022-07-01
 */
@ApiModel(value = "Attention", description = "关注管理对象实体")
public class Attention extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("编号")
    @Excel(name = "编号")
    private Long id;

    /** 关注者 */
    @ApiModelProperty("关注者")
    @Excel(name = "关注者")
    private Long useridOne;

    /** 被关注者 */
    @ApiModelProperty("被关注者")
    @Excel(name = "被关注者")
    private Long useridTwo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUseridOne(Long useridOne) 
    {
        this.useridOne = useridOne;
    }

    public Long getUseridOne() 
    {
        return useridOne;
    }
    public void setUseridTwo(Long useridTwo) 
    {
        this.useridTwo = useridTwo;
    }

    public Long getUseridTwo() 
    {
        return useridTwo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("useridOne", getUseridOne())
            .append("useridTwo", getUseridTwo())
            .toString();
    }
}
